package com.training.persistence.dao;


public interface GenericDao <T> {

    /** Persist the newInstance object into database */
    T create(T newInstance);

    /** Save changes made to a persistent object.  */
    void update(T transientObject);

    /** Remove an object from persistent storage in the database */
    void delete(T persistentObject);
}
